import React from 'react'
import { BrowserRouter, Routes, Route, HistoryRouter, HashRouter } from 'react-router-dom'

import Editor from '@/Pages/Editor'
import Play from '@/Pages/Play'
import Home from '@/Pages/Home'

export default function Router () {
  return <BrowserRouter>
    <Routes>
      <Route path="/" element={<Home />} />
      <Route path="play" element={<Play />} />
      <Route path="editor" element={<Editor />} />
    </Routes>
  </BrowserRouter>
}
